package chapter04;

public class Test02_OutBounds {
    public static void main(String[] args) {
        int[] a = {1,2,3,4};
        try {
            System.out.println(a[0]);
            System.out.println(a[1]);
            System.out.println(a[5]);
        }catch (Exception e){
            System.out.println(e.toString());
        }
        System.out.println("程序结束");
    }
}
